How to Install google-mock software package in Ubuntu 16.04 LTS (Xenial Xerus)

How to Install google-mock software package in Ubuntu 16.04 LTS (Xenial Xerus)

google-mock software package provides Googles framework for writing and using C++ mock classes, you can install in your Ubuntu 16.04 LTS (Xenial Xerus) by running the commands given below on the terminal,

$ sudo apt-get update
$ sudo apt-get install google-mock 

google-mock is installed in your system.

Make ensure the google-mock package were installed using the commands given below,

$ sudo dpkg-query -l | grep google-mock *

You will get with google-mock package name, version, architecture and description in a table

google-mock package basic information:

Distro Ubuntu 16 04 lts xenial xerus
Section Development
Package google-mock
Version 1.7.0-18092013-1
Description Googles framework for writing and using C++ mock classes
Sub Section Devel


See Also, How to uninstall or remove google-mock software package from Ubuntu 16.04 LTS (Xenial Xerus) ?